﻿

namespace Jim.SHR;

/// <summary>2. 补签卡同步</summary>    
[Sdk("saveFillCardRecord", "补签卡同步")]
public class SHRSaveFillCardRecordRequest : ISdkRequest<SHRSaveFillCardRecordResponse>
{
    [Description("日期")]
    public string FillcardDate { get; set; }
    [Description("时间")]
    public string FilecardTime { get; set; }
    [Description("补签卡原因编号")]
    public string FillcardReason { get; set; }
    [Description("备注 (非必填)")]
    public string FillcardRemark { get; set; }
    [Description("请假申请人（员工编码）")]
    public string PersonNum { get; set; }

}

public class SHRSaveFillCardRecordResponse : SdkResponse<SHRKQResult> { }

public class SHRKQResult
{
    /// <summary>
    /// 失败原因
    /// </summary>
    /// <value>string</value>
    public string Reason { get; set; }
    /// <summary>
    /// 返回码，0 代表失败，1 代表成功
    /// </summary>
    /// <value>string</value>
    public string msgType { get; set; }
    /// <summary>
    /// 返回信息，“成功”或者“失败”
    /// </summary>
    /// <value>string</value>
    public string msg { get; set; }
    /// <summary>
    /// 提交成功后返回单据 id
    /// </summary>
    /// <value>string</value>
    public string fid { get; set; }
    /// <summary>
    /// 提交成功后返回单据编号
    /// </summary>
    /// <value>string</value>
    public string fnumber { get; set; }
}
